<?php

/**
 * Description of Access
 *
 * @author Adam
 */
class Access {
    private $userId;
    private $pageId;
    private $permission;
    
    public function getUserId() {
        return $this->userId;
    }

    public function setUserId($userId) {
        $this->userId = $userId;
    }

    public function getPageId() {
        return $this->pageId;
    }

    public function setPageId($pageId) {
        $this->pageId = $pageId;
    }

    public function getPermission() {
        return $this->permission;
    }

    public function setPermission($permission) {
        $this->permission = $permission;
    }
    
    public function __toString() {
        return $this->userId . " " . $this->pageId . " " . $this->permission;
    }

}

?>
